<style>
.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
</style>
<template>
  <div class="mask" v-show="isMask">

  </div>
</template>
<script>
export default {
  props: {
    isMask: {
      type: Boolean,
      default: false
    }
  }
}
</script>